//僵尸任务模块变量设置 by k1 2021.11.26

_side = _this select 0;
_grp = createGroup _side; //sideLogic在新版本游戏失效
_ZombieHealth = _grp createUnit ["RyanZM_ModuleZombieHealth", [1.898,134.426,190.199], [], 0, ""];
_ZombieHealth setVariable ['DemonMaxHealth',ZOMBIE_HEATH,true]; //*1=0.7 1~4
_ZombieHealth setVariable ['ZombieMaxHealth',ZOMBIE_HEATH,true]; //*1=0.7 1~4

_grp = createGroup _side;
_ZombieAbilities = _grp createUnit ["RyanZM_ModuleAbilities", [1.267,205.062,189.746], [], 0, ""];
//_ZombieAbilities setVariable ['Roaming',1,true]; //游荡 1~4 1=关 2=僵尸和恶魔开
//_ZombieAbilities setVariable ['Feeding',1,true]; //啃食 1~4
_ZombieAbilities setVariable ['Jumping',ZOMBIE_JUMP,true]; //跳跃 *1
_ZombieAbilities setVariable ['JumpingDemons',ZOMBIE_DEMON_JUMP,true]; //*1
_ZombieAbilities setVariable ['Throwing',ZOMBIE_THROWING,true]; //*1
_ZombieAbilities setVariable ['ThrowingDemons',ZOMBIE_THROWING_DEMONS,true]; //*1
_ZombieAbilities setVariable ['ThrowingDistance',100,true]; //*500
_ZombieAbilities setVariable ['ThrowingDistanceDemons',150,true]; //*1000
//_ZombieAbilities setVariable ['ThrowingTank',1,true]; //僵尸投掷空坦克 *
//_ZombieAbilities setVariable ['ThrowingTankDemons',1,true]; //*
//_ZombieAbilities setVariable ['ThrowingTankDistance',50,true]; //*
//_ZombieAbilities setVariable ['ThrowingTankDistanceDemons',100,true]; //*
//_ZombieAbilities setVariable ['ThrowingCarAlarms',1,true]; //车辆警报 *1=开 0=关

_grp = createGroup _side;
_ZombieCustomDifficulty = _grp createUnit ["RyanZM_ModuleCustomDifficulty", [0.6,309,186], [], 0, ""];
_ZombieCustomDifficulty setVariable ["AttackSpeed",2,true]; //攻击速度 *0.8
//_ZombieCustomDifficulty setVariable ["AttackDistance",2.35,true]; //攻击距离 *
_ZombieCustomDifficulty setVariable ["Damage",.1,true]; //攻击人的伤害 *0.15
//_ZombieCustomDifficulty setVariable ["DamageCar",.01,true]; //*0.02
//_ZombieCustomDifficulty setVariable ["DamageAir",.01,true]; //*
//_ZombieCustomDifficulty setVariable ["DamageTank",.002,true]; //*
//_ZombieCustomDifficulty setVariable ["Knockback",1.5,true]; //人被击退 *
//_ZombieCustomDifficulty setVariable ["KnockbackCar",1.5,true]; //*
//_ZombieCustomDifficulty setVariable ["KnockbackAir",1,true]; //*
//_ZombieCustomDifficulty setVariable ["KnockbackTank",.4,true]; //*

_grp = createGroup _side;
_ZombieMovementSpeed = _grp createUnit ["RyanZM_ModuleMovementSpeed", [0.602051,255.46,0], [], 0, ""];
_ZombieMovementSpeed setVariable ["SlowZombies",1.5,true];
_ZombieMovementSpeed setVariable ["MediumZombies",.85,true];
_ZombieMovementSpeed setVariable ["FastZombies",.77,true];
_ZombieMovementSpeed setVariable ["DemonZombies",.6,true]; //恶魔移动速度
_ZombieMovementSpeed setVariable ["SpiderZombies",1.5,true]; //蜘蛛僵尸速度
//_ZombieMovementSpeed setVariable ["CrawlerZombies",1,true]; //*
_ZombieMovementSpeed setVariable ["WalkerZombies",1.5,true];
//_ZombieMovementSpeed setVariable ["PlayerZombies",1,true]; //玩家可操控的僵尸 *

_grp = createGroup _side;
_ZombieSettings = _grp createUnit ["RyanZM_ModuleSettings", [0.479,168.326,190.134], [], 0, ""];
_ZombieSettings setVariable ['Headshots',ZOMBIE_HEADSHOT_ONLY,true]; //只有打头才能打死 *1=否
//_ZombieSettings setVariable ["ExplodingHeads",3,true]; //爆头口径 3=6.5mm 2=7.62mm 缺省*1=.408

_grp = createGroup _side;
_ZombieLootSettings = _grp createUnit ["RyanZM_ModuleLootSettings", [1.425,101,189.875], [], 0, ""];
_ZombieLootSettings setVariable ["Items",["FirstAidKit"],true];
_ZombieLootSettings setVariable ["Itemschance",0,true];
//_ZombieLootSettings setVariable ["Itemsamountmin",1,true]; //*
_ZombieLootSettings setVariable ["Itemsamountmax",2,true];
_ZombieLootSettings setVariable ["Magazines",["16Rnd_9x21_red_Mag"],true];
_ZombieLootSettings setVariable ["Magazineschance",0,true];
//_ZombieLootSettings setVariable ["Magazinesamountmin",1,true]; //*
_ZombieLootSettings setVariable ["Magazinesamountmax",2,true];
_ZombieLootSettings setVariable ["Weapons",["hgun_P07_F"],true];
_ZombieLootSettings setVariable ["Weaponschance",0,true];
//_ZombieLootSettings setVariable ["Weaponsamountmin",1,true]; //*
//_ZombieLootSettings setVariable ["Weaponsamountmax",1,true]; //*
_ZombieLootSettings setVariable ["ItemsSoldier",["Medikit","NVGoggles","ItemGPS","ItemCompass","optic_Aco","optic_Arco"],true];
_ZombieLootSettings setVariable ["ItemschanceSoldier",0,true];
//_ZombieLootSettings setVariable ["ItemsamountminSoldier",1,true]; //*
_ZombieLootSettings setVariable ["ItemsamountmaxSoldier",2,true];
_ZombieLootSettings setVariable ["MagazinesSoldier",["30Rnd_65x39_caseless_mag","1Rnd_HE_Grenade_shell","HandGrenade","MiniGrenade"],true];
_ZombieLootSettings setVariable ["MagazineschanceSoldier",0,true];
//_ZombieLootSettings setVariable ["MagazinesamountminSoldier",1,true]; //*
_ZombieLootSettings setVariable ["MagazinesamountmaxSoldier",3,true];
_ZombieLootSettings setVariable ["WeaponsSoldier",["arifle_MX_GL_ACO_F","arifle_MXC_F","arifle_MXM_F"],true];
_ZombieLootSettings setVariable ["WeaponschanceSoldier",0,true];
//_ZombieLootSettings setVariable ["WeaponsamountminSoldier",1,true]; //*
//_ZombieLootSettings setVariable ["WeaponsamountmaxSoldier",1,true]; //*


